include('shared.lua')
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )

local LastUse = {}

function ENT:Initialize()
	
	self.BaseClass.Initialize( self )
	
end

function ENT:Use( ply )

	local PlyIndex = ply:EntIndex()

	if ply:Team() == self:Team() && (LastUse[ PlyIndex ] or 0 ) < CurTime() then
		
		LastUse[ PlyIndex ] = CurTime() + 0.5
		
		ply:GiveAmmo( 255,	"Pistol" )
		ply:GiveAmmo( 90,	"SMG1" )
		ply:GiveAmmo( 1,	"grenade" )
		ply:GiveAmmo( 32,	"Buckshot" )
		ply:GiveAmmo( 16,	"357" )
		
	end

	self.BaseClass.Use( self, ply )

end